<template>
  <div>
    <h2 class="dfree-header">The latest and greatest from TinyMCEtest</h2>
    <br />
  </div>
</template>
<script>
export default {
  data() {
    return {}
  },
  mounted() {
    var dfreeHeaderConfig = {
      selector: '.dfree-header',         //编辑区域
      menubar: false,
      language: "zh_cn",                //语言 ，可自行下载中文
      inline: true,                     //为true时，编辑工具栏隐藏
      toolbar: false,                   //工具栏
      plugins: ['quickbars'],           //插件
      quickbars_selection_toolbar: 'underline',
    }
    window.tinymce.init(dfreeHeaderConfig);

  }
}
</script>
